package spring.cloud.tasks.executor.name_space.executor.task.task_item.task_item_execute_info;

import spring.cloud.tasks.common.node.TaskNodePath;

public final class TaskItemExecuteInfoNeedReportNode {
    public static final String NEED_REPORT_NODE = "need_report";

    public static boolean isReportPath(final String taskId, final String path) {
        return TaskNodePath.getTaskNodePath(taskId, NEED_REPORT_NODE).equals(path);
    }
}
